package 单例模式.饿汉式;

public class Test {
    public static void main(String[] args) {
        Instance instance1 = Instance.getInstance();
        Instance instance2 = Instance.getInstance();
        System.out.println(instance1==instance2);
    }
}
